package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.MeowSalesOrderDetails;

/**
 * 销售订单明细Mapper接口
 * 
 * @author ruoyi
 * @date 2025-06-24
 */
public interface MeowSalesOrderDetailsMapper 
{
    /**
     * 查询销售订单明细
     * 
     * @param detailId 销售订单明细主键
     * @return 销售订单明细
     */
    public MeowSalesOrderDetails selectMeowSalesOrderDetailsByDetailId(String detailId);

    /**
     * 查询销售订单明细列表
     * 
     * @param meowSalesOrderDetails 销售订单明细
     * @return 销售订单明细集合
     */
    public List<MeowSalesOrderDetails> selectMeowSalesOrderDetailsList(MeowSalesOrderDetails meowSalesOrderDetails);

    /**
     * 新增销售订单明细
     * 
     * @param meowSalesOrderDetails 销售订单明细
     * @return 结果
     */
    public int insertMeowSalesOrderDetails(MeowSalesOrderDetails meowSalesOrderDetails);

    /**
     * 修改销售订单明细
     * 
     * @param meowSalesOrderDetails 销售订单明细
     * @return 结果
     */
    public int updateMeowSalesOrderDetails(MeowSalesOrderDetails meowSalesOrderDetails);

    /**
     * 删除销售订单明细
     * 
     * @param detailId 销售订单明细主键
     * @return 结果
     */
    public int deleteMeowSalesOrderDetailsByDetailId(String detailId);

    /**
     * 批量删除销售订单明细
     * 
     * @param detailIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMeowSalesOrderDetailsByDetailIds(String[] detailIds);
}
